package com.tang.common.entity.resumeTemplate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author 唐朝阳
 * @since 2022-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ResumeTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 简历模板id
     */
    @TableId(value = "resume_template_id", type = IdType.AUTO)
    private Integer resumeTemplateId;

    /**
     * 简历模板名称
     */
    @TableField("name")
    private String name;

    /**
     * 封面地址
     */
    @TableField("cover_url")
    private String coverUrl;

    /**
     * 下载地址
     */
    @TableField("download_url")
    private String downloadUrl;

    /**
     * 下载限制，0为免费，1为会员
     */
    @TableField("pay")
    private Integer pay;

    /**
     * 发布的管理员
     */
    @TableField("admin_name")
    private String adminName;

    /**
     * 状态，0为下架，1为上架
     */
    @TableField("state")
    private Integer state;

    /**
     * 删除标志位，1为存在，0为删除
     */
    @TableField("delete_flag")
    private Integer deleteFlag;

    /**
     *
     */
    @TableField("create_time")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @TableField("update_time")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
